body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    padding-top: 76px; /* Add padding to prevent content from hiding under fixed navbar */
}

/*导航栏开始*/
.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-brand {
    color: #4169E1 !important;
    font-weight: 600;
    font-size: 1.3rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #4169E1 !important;
}

/* 统一优化 bi 图标样式 */
.bi {
    font-size: 1.2rem;
    vertical-align: middle;
    font-weight: bold;
    margin-right: 5px;
    display: inline-flex;
    align-items: center;
}

/* 针对导航栏的图标稍大一些 */
.navbar .bi {
    font-size: 1.4rem;
}

/* 搜索框样式优化 */
.input-group {
max-width: 350px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
border-radius: 8px;
overflow: hidden;
transition: all 0.3s ease;
margin-left: auto; /* 将搜索框靠右 */
}

.input-group:focus-within {
box-shadow: 0 4px 12px rgba(65, 105, 225, 0.2);
}

.input-group .form-control {
border: none;
padding: 0.6rem 1.2rem; /* 减小高度 */
font-size: 0.95rem;
background: white;
}

.input-group .form-control:focus {
box-shadow: none;
}

.input-group .btn {
padding: 0.6rem 1.5rem; /* 减小高度 */
background: #4169E1;
color: white;
border: none;
font-weight: 500;
transition: background-color 0.3s ease;
}

.input-group .btn:hover {
background: #3158E2;
}

.input-group .btn i {
margin-right: 5px;
}

/*导航栏结束*/


/*表格样式开始*/
/* 针对表格中的图标稍小一些 */
.table .bi {
    font-size: 1rem;
}

.container .row {
    margin-top: 20px;
}

.table {
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /* margin-top: 80px; */
    width: 100%;
    transition: transform 0.3s ease;
}

.table:hover {
    transform: translateY(-5px);
}

.table tbody tr {
    transition: background-color 0.3s ease;
    cursor: pointer;
    padding: 1rem;
}

.table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.table tbody tr.selected {
    background-color: rgba(0, 0, 0, 0.12);
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    padding: 1rem;
}


.btn-primary {
    background-color: #0d6efd;
    border: none;
    padding: 0.375rem 0.75rem;
}

.btn-primary:hover {
    background-color: #0b5ed7;
}

.btn-group {
    display: inline-flex;
    border-radius: 4px;
    overflow: hidden;
}

.btn-group .btn {
    margin: 0;
    border-radius: 0;
    font-size: 0.875rem;
}

.btn-group .btn:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.btn-group .btn:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.upload-btn {
    margin-bottom: 20px;
}


/*表格样式结束 */

/*分页样式开始*/
.pagination {
    margin-top: 20px;
    justify-content: center;
}

.page-link {
    color: #4169E1;
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
}

.page-link:hover {
    color: #3158E2;
    background-color: #e9ecef;
}

.page-item.active .page-link {
    background-color: #4169E1;
    border-color: #4169E1;
}

/*分页样式结束*/

/*team样式开始*/
.container .modules {
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 改为3列 */
    gap: 30px;
    width: 95%;
    margin: 30px auto;
    padding: 0 10px;
}

.module {
    background-color: #fff;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem; /* 增大字体 */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    aspect-ratio: 1 / 1;
    padding: 20px; /* 增大内边距 */
    min-height: 200px; /* 设置最小高度 */
}

.module:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.module a {
    text-decoration: none;
    color: #0084ff;
    font-weight: 600;
    font-size: 3rem;
    padding: 40px 80px;
    border: 2px solid #0084ff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.module a:hover {
    background-color: #0084ff;
    color: #ffffff;
    transform: translateY(-3px);
}

.container .modules .bi{
    font-size: 3rem;
}

/*team样式结束*/

